SDEF
path models/heligun
origin 8 28 0
scale 0.5
heligun_base.tga
heligun_base.sbm

//fire heligun_fire.SAM
fire heligun_fire2.SAM
//fire heligun_fire3.sam
idle heligun_idle.sam

id 200 group weapon bone barrel 0 0 0

!init:
client aliasprefix heligun_

client  aliascache   snd_fire1   "weapons/heligun/mix9c.wav" 1
//client  aliascache   snd_fire1   "weapons/heligun/mix6.wav" 1
//client  aliascache   snd_alt1   "weapons/heligun/m1.wav" 1
//client  aliascache   snd_alt1   "weapons/heligun/mix9ca.wav" 1


!main:

server fire first shoot
server fire first weaponsound
client fire first randomsound snd_fire 1 1
client fire first attach barrel sprites/hvblast.spr time 0.05 scale 1
client fire first shootbullets 1 10 10 10
// dlight <red> <rand_red_amount> <green> <rand_green_amount> <blue> <rand_blue_amount> <radius> <rand_radius_amount> <life> <decay>
client fire first dlight 1 0 0.2 0.5 0 0 240 50 0.2 0.7
server fire first shoot
server fire first weaponsound
client fire 1 attach barrel sprites/hvblast.spr time 0.05 scale 1
client fire 1 shootbullets 1 10 10 10
client fire 1 dlight 1 0 0.2 0.5 0 0 240 50 0.2 0.7
server fire 2 shoot
server fire 2 weaponsound
client fire 2 attach barrel sprites/hvblast.spr time 0.05 scale 1
client fire 2 shootbullets 1 10 10 10
client fire 2 dlight 1 0 0.2 0.5 0 0 240 50 0.2 0.7
server fire 3 shoot
server fire 3 weaponsound
client fire 3 attach barrel sprites/hvblast.spr time 0.05 scale 1
client fire 3 shootbullets 1 10 10 10
client fire 3 dlight 1 0 0.2 0.5 0 0 240 50 0.2 0.7
server fire 4 shoot
server fire 4 weaponsound
client fire 4 attach barrel sprites/hvblast.spr time 0.05 scale 1
client fire 4 shootbullets 1 10 10 10
client fire 4 dlight 1 0 0.2 0.5 0 0 240 50 0.2 0.7
server fire 5 shoot
server fire 5 weaponsound
client fire 5 attach barrel sprites/hvblast.spr time 0.05 scale 1
client fire 5 shootbullets 1 10 10 10
client fire 5 dlight 1 0 0.2 0.5 0 0 240 50 0.2 0.7
server fire 6 shoot
server fire 6 weaponsound
client fire 6 randomsound snd_fire 1 1
client fire 6 attach barrel sprites/hvblast.spr time 0.05 scale 1
client fire 6 shootbullets 1 10 10 10
client fire 6 dlight 1 0 0.2 0.5 0 0 240 50 0.2 0.7
server fire 7 shoot
server fire 7 weaponsound
client fire 7 attach barrel sprites/hvblast.spr time 0.05 scale 1
client fire 7 shootbullets 1 10 10 10
client fire 7 dlight 1 0 0.2 0.5 0 0 240 50 0.2 0.7
server fire 8 shoot
server fire 8 weaponsound
client fire 8 attach barrel sprites/hvblast.spr time 0.05 scale 1
client fire 8 shootbullets 1 10 10 10
client fire 8 dlight 1 0 0.2 0.5 0 0 240 50 0.2 0.7
server fire last attack_finished
server fire last weaponsound
